package io.renren.core.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 知识库分类
 *
 * @author Ark 6980gong@gmail.com
 * @since 1.0.0 2024-05-04
 */
@Data
@ApiModel(value = "知识库分类")
public class LearnKnowTypeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "知识库分类名称")
	private String name;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createDate;

	@ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date updateDate;

	@ApiModelProperty(value = "knowList")
	private List<LearnKnowSourceDTO> knowList;


}